body, div, canvas {
  image-rendering: optimizeSpeed;
  -webkit-image-rendering: optimizeSpeed;
  -webkit-interpolation-mode: nearest-neighbor;
}

body {
  padding: 0;
  margin: 0;
  font-size: 12px;
  background-color: #fff;
  -webkit-user-select: none; /*禁用手机浏览器的用户选择功能 */
  -moz-user-select: none;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /*在iPhone设备上点击时会出现一个半透明的灰色背景。*/

  font-family: Helvetica Neue For Number, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
}

body, html {
  height: 100%;
}

.wrapper {
  max-width: 750px;
  height: 100%;
  position: relative;
  margin: 0 auto;
  background: url('../images/bg3.png') no-repeat;
  background-size: cover;
  background-position: top center;
}

.page {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  overflow: auto;
}

.page1 {
  display: block;
  background: url('../images/bg1.png') no-repeat;
  background-size: cover;
  background-position: bottom center;
  z-index: 10;
}

.page1 .btn_join_wrapper {
  width: 100%;
  position: absolute;
  /*bottom: 0.95rem;*/
  bottom: 0.4em;
}

.btn_join {
  width: 3.6rem;
  height: 2.4rem;
  margin: 0 auto;
}

.page2 {
  height: auto;
  min-height: 100%;
  background: url('../images/bg2.png') no-repeat;
  background-size: cover;
  background-position: top center;
  z-index: 9;
}

.page4 {
  background: url('../images/bg3.png') no-repeat;
  background-size: cover;
  background-position: top center;
  z-index: 8;
}

.user_box {
  width: 3rem;
  height: .68rem;
  position: absolute;
  top: .5rem;
  left: .36rem;
  background: rgba(0, 0, 0, .2);
  border-radius: .34rem;
  overflow: hidden;
}

.user_avatar {
  width: .68rem;
  height: .68rem;
  border-radius: 50%;
  background: cornsilk;
  float: left;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.user_info {
  margin-left: .92rem;
  margin-right: .36rem;
  height: 100%;
}

.user_info .user_nickname {
  font-size: .26rem;
  color: rgba(255, 255, 255, .8);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 0.08rem;
  height: .26rem;
  line-height: .26rem;
}

.user_info .user_songs {
  font-size: .2rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 0.06rem;
  height: .2rem;
  line-height: .2rem;
}

.cd_box {
  width: 100%;
  height: 5.68rem;
  position: absolute;
  top: 1.44rem;

}

.cd_box_inner {
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.cd_handle {
  width: 1.4rem;
  height: 3.78rem;
  background: url('../images/2handle@2x.png') no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  right: .5rem;
  z-index: 2;
  transform-origin: right top;
  transform: rotate(0deg);
}

.disc_box {
  width: 5.68rem;
  height: 5.68rem;
  background: url("../images/2disc@2x.png") no-repeat;
  background-size: cover;
  background-position: center center;
  margin: 0 auto;
}

.page2 .disc_box {
  position: relative;
}

.cd_center {
  width: 3.48rem;
  height: 3.48rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
}

.cd_next_tips {
  width: 2.2rem;
  height: .4rem;
  line-height: .4rem;
  font-size: .28rem;
  color: #ffffff;
  text-align: right;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.next_icon {
  width: .4rem;
  height: .4rem;
  position: absolute;
  top: 0;
  left: 0;
  background: url('../images/2cut@2x.png') no-repeat center;
  background-size: cover;
  animation: heartJump 0.6s ease-in-out infinite;
}

.cd_cover {
  width: 3.48rem;
  height: 3.48rem;
  background: #cbcbcb;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 50%;
}

.cd_cover:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .2);
  border-radius: 50%;
}

.music_info {
  margin-top: 7.72rem;
  text-align: center;
  color: #ffffff;
}

.music_info .music_name {
  font-size: .4rem;
}

.music_info .music_grade {
  margin-top: .24rem;
  font-size: .24rem;
  display: none;
}

.gide_star {
  width: .3rem;
  height: .24rem;
  display: inline-block;
  background: url('../images/2star.png');
  background-size: .3rem .24rem;
  position: relative;
  top: .02rem;
}

.gide_2 {
  width: .6rem;
}

.gide_3 {
  width: .9rem;
}

.btn_startGame {
  width: 4.2rem;
  height: 1.6rem;
  background: url('../images/2play@2x.png') no-repeat;
  background-size: cover;
  background-position: center center;
  margin: .25rem auto 0;
}

.hot_list_box {
  margin: 1rem .5rem .4rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.hot_list_box .list_title {
  text-align: center;
  height: .4rem;
  line-height: 0.4rem;
  font-size: .32rem;
  position: relative;
  margin-bottom: .5rem;
}

.list_title:before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 50%;
  left: 0;
}

.list_title:after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 50%;
  right: 0;
}

.hot_list {
  margin: 0 .1rem;
}

.hot_item {
  height: .68rem;
  margin-bottom: .4rem;
}

.hot_item .hot_image {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  margin-top: 0.05rem;
  overflow: hidden;
  background: cornsilk;
  float: left;
}

.hot_image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hot_zan {
  width: 1rem;
  height: 100%;
  float: right;
  position: relative;
}

.zan_icon {
  width: .32rem;
  height: .32rem;
  background: url('../images/2applaud@2x.png') no-repeat center;
  background-size: cover;
  margin: 0 auto;
}

.zan_animate_box {
  width: .32rem;
  height: .32rem;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

}

.zanfly {
  width: 0.32rem;
  position: absolute;
  bottom: 0;
  left: 0;
}

.zan_num {
  font-size: .24rem;
  color: #FED57D;
  text-align: center;
}

/*热门列表播放按钮*/
.hot_play {
  width: 1rem;
  height: 100%;
  float: right;
  position: relative;
  text-align: center;
  font-size: .24rem;
  color: #FED57D;
}

.hot_play_icon {
  width: .32rem;
  height: .32rem;
  background-image: url('../images/2play2@2x.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0 auto;
}

.hot_play.playing .hot_play_icon {
  background-image: url('../images/2pause.png');
}

.hot_info {
  margin: 0 1.2rem 0 0.78rem;
  font-size: .24rem;
}

.hot_info .music_name {
  font-size: .3rem;
}

.music_player {
  color: rgba(255, 255, 255, 0.6);
}

.btn_wrapper {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  text-align: right;
}

/*page3*/
.page3 {
  z-index: 3;
}

/*page4*/
.page4 {
  z-index: 10;
}

.page_title {
  width: 5.7rem;
  height: 1.16rem;
  margin: 1rem auto 0;
  border-radius: .58rem;
  background-color: rgba(0, 0, 0, .2);
  position: relative;
}

.music_note {
  width: .6rem;
  height: .9rem;
  background: url('../images/5note@2x.png') no-repeat center;
  background-size: cover;
  position: absolute;
  top: 0.12rem;
  left: 0.3rem;
}

.music_dis {
  width: 4.4rem;
  line-height: .4rem;
  height: 100%;
  margin-left: 1rem;
  color: #ffffff;
  font-size: .28rem;
  max-height: 100%;
  position: relative;
}

.music_dis span {
  width: 100%;
  position: absolute;
  color: #FED57D;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 .2rem;
  box-sizing: border-box;
}
.music_dis b{
  font-size: .3rem;
}

.page4 .cd_box {
  top: 2.9rem;
  height: 5rem;
  overflow: hidden;
}

.page4 .disc_box {
  width: 5rem;
  height: 5rem;
}

.page4 .cd_center {
  width: 3.06rem;
  height: 3.06rem;
}

.page4 .cd_cover {
  width: 3.06rem;
  height: 3.06rem;
}

.page4 .cd_handle {
  transform: rotate(-15deg);
}

.page4 .button_group {
  width: 100%;
  padding: 0 .9rem;
  position: absolute;
  bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

.page4 .button_group button {
  width: 2.6rem;
  height: .8rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
}

/*手指*/
.btn_play_music {
  height: .44rem;
  position: absolute;
  bottom: .5rem;
  right: .3rem;
}

.point_icon {
  width: .34rem;
  height: .44rem;
  background: url('../images/point.png') no-repeat center;
  background-size: cover;
  float: left;
}

.point_text {
  height: .44rem;
  line-height: .44rem;
  color: #ffffff;
  font-size: .28rem;
  margin-left: .44rem;
}

.page4 .button_group .btn_replay {
  background-image: url('../images/4button1@2x.png');
}

.page4 .button_group .btn_share {
  background-image: url('../images/4button2@2x.png');
}

button.active {
  color: crimson;
}

/*page5 微信分享弹框*/
.page5 {
  background: rgba(0, 0, 0, .8);
  z-index: 10;
}

.page5 .share_img img {
  float: right;
  width: 4.43rem;
}

.share_content {
  color: #ffffff;
  font-size: .36rem;
  text-align: center;
  margin-top: .6rem;
  line-height: .6rem;
}

.special_text {
  color: #FED57D;
}

.playing_disc {
  animation: rotate_cd 4s linear infinite;
}

.playing_handel {
  animation: rotate_handel 0.3s linear forwards;
}

@keyframes rotate_cd {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate_handel {
  from {
    transform: rotate(-15deg);
  }
  to {
    transform: rotate(5deg);
  }
}

.clearFix:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  clear: both;
}

.loading {
  display: block;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
}

.loading_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
}

.loading_content img {
  display: block;
  width: .8rem;
  margin: 0 auto .2rem;
}

/*游戏介绍浮窗*/
.page_intro {
  /*display: block;*/
  background: rgba(0, 0, 0, .8);
  z-index: 7;
}

.page_intro .swiper-container {
  width: 6.14rem;
  margin: 1.2rem auto 0;
}

.page_intro .swiper-slide {

}

.slider_inner p {
  font-size: .3rem;
  color: #ffffff;
  text-align: center;
  margin-top: 1.2rem;
}

.swiper-slide img {
  width: 100%;
}

.slider_inner span {
  color: #FED57D;
}

.swiper-pagination {
  bottom: 1.2rem !important;
}

.swiper-pagination-bullet {
  background: rgba(254, 213, 125, 0.2);;
}

.swiper-pagination-bullet-active {
  background: rgba(254, 213, 125, 1);
}

.swiper_next {
  width: 3.4rem;
  height: .8rem;
  line-height: .8rem;
  color: #FED57E;
  font-size: .4rem;
  margin: .6rem auto 0;
  text-align: center;
  border-radius: .4rem;
  border: .02rem solid #FED57E;

}

/*游戏加载页*/
.page6 {
  /*z-index: 7;*/
}

/*其他入口提示页*/
.page9 {
  /*display: block;*/
  z-index: 11;
  background: rgba(0, 0, 0, .7);
}

.tips_wrapper {
  height: 5.7rem;
  width: 5.5rem;
  background: url("../images/tipsbg.png") no-repeat center center;
  background-size: cover;
  font-size: .3rem;
  text-align: center;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  /*transform: ;*/
}

.tips_words p {
  line-height: .6rem;
  margin: 0;
}

.tips_words span {
  color: #fbbc36;
  font-weight: bold;
}

.logo_box {
  display: flex;
  justify-content: space-around;
  margin: .75rem 0 .4rem;
}

.logo_box img {
  width: 1.4rem;
  height: 1.4rem;
}

@keyframes heartJump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}